x86: fold linker script pre-processing rules
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Jan 2020 16:19:46 +0000 (17:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 30 Jan 2020 16:19:46 +0000 (17:19 +0100)
commit837da5e3a31938891e4bada2497ec6b7b73908cc
treeb398cd333a6792935db5a232b84c773a8377f934
parentf450eaa9c1521c64dc31bdec81a6148b2b0d9552
x86: fold linker script pre-processing rules

There's no need to have twice almost the same rule. Simply add the extra
-DEFI to AFLAGS for the EFI variant, and specify both targets for the
then single rule.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/Makefile